#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

DEPTH = ../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

MODULE = xpctest

XPIDLSRCS = \
  xpctest_attributes.idl \
  xpctest_interfaces.idl \
  xpctest_params.idl \
  $(NULL)

include $(topsrcdir)/config/rules.mk

componentdir = js/xpconnect/tests/components
libs:: $(XPIDL_GEN_DIR)/$(MODULE).xpt
	$(INSTALL) $^ $(testxpcobjdir)/$(componentdir)/native
	$(INSTALL) $^ $(testxpcobjdir)/$(componentdir)/js
